<!-- 我的认养 -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的认养</title>
    <!-- favicon -->
    <link rel="shortcut icon" href="../img/favicon.ico">
    <!-- fonts -->
    <link rel="stylesheet" href="../fonts/iconfont.css">
    <!-- style 1.jquery-weui -->
    <link rel="stylesheet" href="../lib/dist/css/weui.min.css">
    <link rel="stylesheet" href="../lib/dist/css/jquery-weui.css">
    <!-- style 公共koala样式 -->
    <link rel="stylesheet" href="../css/publicfile.css">
</head>
<body class="bg-gray">
    <div class="main">
        <!-- 搜索 -->
        <div class="search afixd" style="background-color: #eeeeee;">
            <div class="weui-search-bar" id="searchBar">
                <form class="weui-search-bar__form">
                    <div class="weui-search-bar__box">
                        <i class="weui-icon-search" style="margin-top: 0;"></i>
                        <input type="search" class="weui-search-bar__input" id="searchInput" placeholder="输入商品名称或订单编号搜索" required="">
                        <a href="javascript:" class="weui-icon-clear" id="searchClear"></a>
                    </div>
                    <label class="weui-search-bar__label" id="searchText" style="transform-origin: 0px 0px 0px; opacity: 1; transform: scale(1, 1);">
                        <i class="weui-icon-search"></i>
                        <span>输入商品名称或订单编号搜索</span>
                    </label>
                </form>
            <!-- <a href="javascript:" class="weui-search-bar__cancel-btn" id="searchCancel">取消</a>-->
            </div>
        </div>
        <!--  -->
        <div class="search-height"></div>
        <div id="list">
            <div class="weui-panel weui-panel_access lists" style="margin-top: 0;font-size: 14px;">
                <div class="weui-panel__hd">
                    <span class="align">订单号：20151127125735566658</span>
                    <span class="font-red pull-right font-fourteen align">已认养</span>
                </div>
                <div class="weui-panel__bd">
                    <div class="weui-media-box weui-media-box_appmsg order">
                        <div class="weui-media-box__hd">
                            <img class="weui-media-box__thumb" src="../img/temp/claim_01.png">
                        </div>
                        <div class="weui-media-box__bd">
                            <h4 class="weui-media-box__title ">武夷山-中蜂-荆条蜜蜂箱</h4>
                            <p class="weui-media-box__desc gray font-twelve">
                                <span>数量：1</span>
                                <span style="margin-left:5px">单价：</span>
                                <span class="font-red">￥2000.00</span>
                            </p>
                        </div>
                        <a href="member_state.html">蜂箱动态</a>
                    </div>
                    <div class="weui-media-box weui-media-box_appmsg order">
                        <div class="weui-media-box__hd">
                            <img class="weui-media-box__thumb" src="../img/temp/claim_02.png">
                        </div>
                        <div class="weui-media-box__bd">
                            <h4 class="weui-media-box__title">武夷山-中蜂-荆条蜜蜂箱</h4>
                            <p class="weui-media-box__desc gray font-twelve">
                                <span>数量：1</span>
                                <span style="margin-left:5px">单价：</span>
                                <span class="font-red">￥2000.00</span>
                            </p>
                        </div>
                        <a href="member_state.html">蜂箱动态</a>
                    </div>
                </div>
                <div class="weui-panel__ft">
                    <div class="weui-cell weui-cell_access weui-cell_link font-twelve">
                        <span style="margin-right: 10px">共2件</span>
                        <span>合计：￥4000.00</span>
                    </div>
                </div>
                <div class="weui-panel__ft">
                    <div class="weui-cell weui-cell_access weui-cell_link">
                        <a href="member_claim_detail.html" class="ft-detail font-red">认养详情</a>
                        <a href="beehive_list.html" class="ft-detail font-red">再次认养</a>
                    </div>
                </div>
            </div>
            <div class="weui-panel weui-panel_access lists" style="font-size: 14px;">
                <div class="weui-panel__hd">
                    <span class="align">订单号：20151127125735566658</span>
                    <span class="font-red pull-right font-fourteen align">已发货</span>
                </div>
                <div class="weui-panel__bd">
                    <div class="weui-media-box weui-media-box_appmsg order">
                        <div class="weui-media-box__hd">
                            <img class="weui-media-box__thumb" src="../img/temp/claim_04.jpg">
                        </div>
                        <div class="weui-media-box__bd">
                            <h4 class="weui-media-box__title">武夷山-中蜂-荆条蜜蜂箱</h4>
                            <p class="weui-media-box__desc gray font-twelve">
                                <span>数量：1</span>
                                <span style="margin-left:5px">单价：</span>
                                <span class="font-red">￥2000.00</span>
                            </p>
                        </div>
                        <a href="member_state.html">蜂箱动态</a>
                    </div>
                </div>
                <div class="weui-panel__ft">
                    <div class="weui-cell weui-cell_access weui-cell_link font-twelve">
                        <span style="margin-right: 10px">共2件</span>
                        <span>合计：￥2000.00</span>
                    </div>
                </div>
                <div class="weui-panel__ft">
                    <div class="weui-cell weui-cell_access weui-cell_link">
                        <a href="member_claim_detail.html" class="ft-detail font-red">认养详情</a>
                        <a href="javascript:void(0);" class="ft-detail font-red" onclick="confirm()">确认收货</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="weui-infinite-scroll">
            <div class="infinite-preloader"></div>
            正在加载
        </div>
    </div>
    <!-- JS -->
    <script src="../lib/dist/js/jquery-2.1.4.js"></script>
    <!-- 幻灯片 -->
    <!-- Swiper -->
    <script src="../lib/dist/js/swiper.js"></script>
    <!-- jqweui -->
    <script src="../lib/dist/js/jquery-weui.js"></script>
    <script>
        //滚动加载
        var loading = false;
        $(document.body).infinite().on("infinite", function() {
            if(loading) return;
            loading = true;
            setTimeout(function() {
                $("#list").append(
                '<div class="weui-panel weui-panel_access lists" style="font-size: 14px;">' +
                    '<div class="weui-panel__hd">' +
                '                <span class="align">订单号：20151127125735566658</span>' +
        '                <span class="font-red pull-right font-fourteen align">已认养</span>' +
        '            </div>' +
        '            <div class="weui-panel__bd">' +
        '                <div class="weui-media-box weui-media-box_appmsg order">' +
        '                    <div class="weui-media-box__hd">' +
        '                        <img class="weui-media-box__thumb" src="../img/temp/claim_04.jpg">' +
        '                    </div>' +
        '                    <div class="weui-media-box__bd">' +
        '                        <h4 class="weui-media-box__title">武夷山-中蜂-荆条蜜蜂箱</h4>' +
        '                        <p class="weui-media-box__desc gray font-twelve">' +
        '                            <span>数量：1</span>' +
        '                            <span style="margin-left:5px">单价：</span>' +
        '                            <span class="font-red" >￥2000.00</span>' +
        '                        </p>' +
        '                    </div>' +
        '                    <a href="member_state.html">蜂箱动态</a>' +
        '                </div>' +
        '            </div>' +
        '            <div class="weui-panel__ft">' +
        '                <div  class="weui-cell weui-cell_access weui-cell_link font-twelve" >' +
        '                    <span style="margin-right: 10px">共2件</span>' +
        '                    <span>合计：￥2000.00</span>' +
        '                </div>' +
        '            </div>' +
        '            <div class="weui-panel__ft">' +
        '                <div  class="weui-cell weui-cell_access weui-cell_link" >' +
        '                    <a href="member_claim_detail.html" class="ft-detail font-red">认养详情</a>' +
        '                    <a href="../beehive_list.html" class="ft-detail font-red">再次认养</a>' +
        '                </div>' +
        '            </div>' +
                '</div>'
                );
                loading = false;
            }, 1000);
        });
        function confirm(){
            $.confirm({
                title: '提示',
                text:'确定收货吗?',
                onOK: function () {
                    $.toast('收货成功');
                },
                onCancel: function () {
                    //点击取消
                }
            });
        }
    </script>
</body>

</html>